﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<meta content="IE=EmulateIE7" http-equiv="X-UA-Compatible"/>
<meta name="keywords" content=""/><!--SEO关键字-->
<meta name="description" content=""/><!--SEO描述-->
<link rel ="" href=""/><!--选项卡图标-->
<title></title>
<link rel="stylesheet" href="css/base.css"/>
<link rel="stylesheet" href="css/all_header.css"/>
<link rel="stylesheet" href="css/music_home.css"/>
<link rel="stylesheet" href="css/16sucai_css.css" type="text/css" media="screen" charset="utf-8">
<script type="text/javascript" src="js/check.js"></script>
<script type="text/javascript" src="js/jquery-1.7.2.js"></script>
<script type="text/javascript" src="js/music.js"></script>
<script type="text/javascript" src="js/all_header.js"></script>
<script src="js/jquery-1.3.1.min.js" type="text/javascript" charset="utf-8"></script>
<script src="js/slider.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript" src="js/music_home.js"></script>
<script type="text/javascript" src="js/search.js"></script>
<!--[if lt IE 9]>
<script src=" js/html5shiv.js"></script>
<![endif]-->
<!--[if ie 6]>
<link rel="stylesheet" href=" css/ie6.css">
<script type="text/javascript" src=" js/DD_belatedPNG.js" ></script>
<script type="text/javascript">
DD_belatedPNG.fix('.png');/*在需要png透明的元素里面加上.png样式即可（class="png"）*/
</script>
<![endif]-->


</head>
<body>				<!--滑动注册登录框-->
	<div class="slide_box">
		<div class="slide_login">
				<span>邮箱:</span><br/>
				<input type="text" id="email"  onblur="cheak_email(this)" class="required" value="" style="width:219px;height:29px;border:0px;background:#333;color:#ddd;"/>
					<br/><br/>
				<span>密码:</span><br/>
				<input type="password"  value="" id="password"  style="width:219px;height:29px;border:0px;background:#333;color:#ddd;"/>
				<div class="text1">
					<div class="text2"><span>还没账号？</span><span onclick="show_regesit();">注册<span></div>
				<div class="login_btn"><input type="button" onclick="login(),cheak_email('#email') "name="submit" id="send" value="登录" style="width:70px;height:29px;background:#333;border:0px;color:#999;"></div>
				</div>
			
		</div>
		
		<div class="slide_regesit">
				<span>昵称:</span><br/>
				<input type="text" id="Username" name="username" value="" style="width:219px;height:29px;border:0px;background:#333;color:#ddd;"/>
					<label class="stats1">请输入用户名</label><br/>
				<br/><span>邮箱:</span><br/>
				<input type="text"name="email" id="Email" value="" style="width:219px;height:29px;border:0px;background:#333;color:#ddd;"/>
					<label class="stats1">请输入邮箱</label><br/>
				<br/><span>密码:</span><br/>
				<input type="password"id="Password" name="password" value="" style="width:219px;height:29px;border:0px;background:#333;color:#ddd;"/>
				<label class="stats1">请输入用户密码</label>
				<div class="text1">
					<div class="text2"><input type="checkbox" name="agreement" id="agreement"/><a>&nbsp;同意服务条款</a><br/><label>&nbsp;请阅读并同意服务条款</label></div>
					<div class="reg_btn"><input type="button"name="sub" onclick="regs('click'),register()" value="注册" style="width:70px;height:29px;background:#333;border:0px;color:#999;"></div>
				</div>
		</div>
	</div>
	<!--触发下拉框按钮-->
	<div class="slide_btn"  onclick="slide_btn();"><img class="png" src="images/arrow_down.png"/></div>
	<!--主体-->
	<div class="container_12">
		<div class="header">
			<div class="logo"style="display:inline;float:left;">
				<img class="png" src=" images/TopWhole_logo.png"/>
			</div>
			<div class="creat_list_btn"style="display:inline;float:left;margin:20px auto;">
				<input type="button" style="background:url( images/creat_list_btn.png);width:140px;height:72px;border:0px;"/>
			</div>
			<div class="search">
				<div class="un_useful_4">
				<form action="search.php" method="post" id="search_start">
					<input type="text" id="search_box" name="search" value="" onblur="hide_result()" oninput="cheak(this)" style="width:193px;height:25px;"/>
					
					<a href="#"><input type="submit" id="Submit" name="submit" style="background:url( images/search_btn.png);width:17px;height:17px;border:0px;" value=""/></a>
				</form>
				</div>
				<div class="l_r_text">
				<?php if(isset($_SESSION['username'])){
				echo '<div class="un_useful_5">
						<span class="log_tetx" > <a href=" person/complete_list.php">'.$_SESSION['username'].'</a></span>
					</div>
					<div class="un_useful_6">
						<span class="un_useful_7"> | </span>
						<span class="reg_text" onclick="destroy()">退出</span>
					</div>';
				}else{ ?>
								<div class="un_useful_5">
						<span class="log_tetx" onclick="slide_btn();"> 登录 </span>
					</div>
					<div class="un_useful_6">
						<span class="un_useful_7"> | </span>
						<span class="reg_text" onclick="regesit_btn();"> 注册 </span>
					</div>
			<?php } ?>

				</div>
				<!--个人信息-->
				<div class="person_info">
					<div class="un_useful_61">
						<img style="width:48;height:48px;"src=" images/p3.gif">
					</div>
					<div class="un_useful_51"><a href="#">用户名用户名用户</a></div>
				</div>
				<div class="search_result"></div>
			</div>
			<div class="nav">
				<ul>
					<li class="index"><a href="index.php" >主页</a></li>
					<li class="music"><a href="music/music_home.php">音乐</a></li>
					<li class="movie"><a href="movie_home.php">影视</a></li>
					<li class="sport"><a href="sport_home.php">运动</a></li>
					<li class="funny"><a href="funny_home.php">趣味</a></li>
					<li class="people"><a href="people_home.php">人物</a></li>
					<li class="travel"><a href="travel_home.php">旅游</a></li>
					<li class="book"><a href="book_home.php">书籍</a></li>
					<li class="diet"><a href="diet_home.php">饮食</a></li>
					<li class="science"><a href="science_home.php">科技</a></li>
					<li class="other"><a href="other.php">其它</a></li>
				</ul>
			</div>
		</div>
		<div style="clear:both;"></div>
	</div>
	
</body>
</html>